<?php
if ($_GET['pg'] == 'news'){ 
    include 'news.php';
} elseif ($_GET['pg'] == 'categories' && $_GET['id'] != '2'){
    include 'categories.php';
} elseif ($_GET['pg'] == 'categories' && $_GET['id'] == '2') {
    include 'corporate.php';
} elseif ($_GET['pg'] == 'offers' && $_GET['cid'] != '2'){
    include 'oferte.php';
} elseif ($_GET['pg'] == 'offers' && $_GET['cid'] == '2'){
    include 'oferte_corp.php';
} elseif ($_GET['pg'] == 'top') { 
	include 'top.php';	
}else { include 'home.php' ;}
?>